package com.xhsj.user.event.event;

import org.springframework.context.ApplicationEvent;

import java.util.Map;

/**
 * 消息事件
 * @author suxiaolin
 * @date 2020/4/1 9:22
 */
public class MessageEvent extends ApplicationEvent {

    private Map<String,Object> msg;


    public MessageEvent(Object source, Map<String,Object> msg) {
        super(source);
        this.msg = msg;
    }

    public Map<String, Object> getMsg() {
        return msg;
    }
}
